Replication Materials for "Going Nativist: How Nativism and Economic Ideology Interact to Shape Beliefs about Global Trade"

23 November 2020
Last updated: 12 December 2020

Folders/Files:

PRS_replication_data_UK.1 <- coded data to load directly to R for analysis
PRS_replication_data_UK.0 <- uncoded data, use to replicate coding in Stata
PRS_replication_data_US.1 <- coded data to load directly to R for analysis
PRS_replication_data_US.0 <- uncoded data, use to replicate coding in Stata 

PRS_Table 1 <- Compressed folder with a) .do file to generate MPlus data (US and UK), b) .dat files (US and UK), c) Mplus input code (US and UK), and d) output files (US and UK)

PRS Replication File Variable_Coding_UK/PRS Replication File November 2020_Coding_US <- Stata .do files that code variables 
UKcodinglog.txt/UScodinglog.tex <- log files from variable coding in Stata

PRS Replication File_Analyses.1 <- Results reported in the main text (excluding measurement model/Table 1)
PRSRoutputmain.txt <- R console output from replication analyses.1 (main text)

PRS Replication File_Analyses.2 <- Use to replicate results reported in the Appendix, excluding the models generated in Mplus
PRSRoutputappendix.txt <- R console output from PRS Replication File_Analyses.2

PRS_Table2_appendix<- Compressed folder that Utilizes US and UK .dat files created to construct Table 1 to perform stepwise Confirmatory Factor Analyses as Described in the Table
PRS_Table3_4Appendix <-Compressed folder that Contains a) .do files used to generate data for Mplus for these exploratory factor analyses. b) .dat files (US and UK); c) Mplus input and output 
files that replicate the tables
PRS_Table7Appendix <-Compressed folder that has a) .dat files created from core replication datafiles (also replicated and included as .dta files); b) all estimations run in Mplus for Table 7 in appendix
where the numbers in the filename refer to the column of the table  
PRS_Footnote6ARModel <- Compressed folder containing a) the .do files necessary to created the repeated nativism measures across the larger multiwave panel; 
b) the .dta and .dat datafiles of the panel measures; the Mplus outputs of the autoregressive models.

